<?php
$this->breadcrumbs=array(
	'Coffee Recommends'=>array('admin'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List CoffeeRecommend', 'url'=>array('index')),
	array('label'=>'Create CoffeeRecommend', 'url'=>array('create')),
	array('label'=>'Update CoffeeRecommend', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete CoffeeRecommend', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure to delete this item?')),
	array('label'=>'Manage CoffeeRecommend', 'url'=>array('admin')),
);
?>

<h1>View CoffeeRecommend #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'name',
		'ownerName',
		'street',
		'suburb',
		'city',
		'state',
		'postcode',
		'country',
		'website',
		'phone',
		'email',
		'baristaNames',
		'espressoMachine',
		'beansForSale:boolean',
		'internetAccess:boolean',
		'roastingOnSite:boolean',
		'coffeeBrand',
		'comment',
		'fromIp',
		'date',
		array(
			'name' => 'status',
			'value' => CoffeeRecommend::status_options($model->status),
		),
		array(
			'name' => 'shop',
			'type' => 'raw',
			'value' => is_object($model->shop)?CHtml::link(CHtml::encode($model->shop->name),array('coffeeShop/view','id'=>$model->shop->id)):'',
		),
	),
)); ?>
